import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import less from 'less'
import 'element-ui/lib/theme-chalk/index.css'
import VueQuillEditor  from 'vue-quill-editor'
import 'quill/dist/quill.core.css'
import 'quill/dist/quill.snow.css'
import 'quill/dist/quill.bubble.css'
import SocketIOClient from 'socket.io-client'
import VueSocketIO from 'vue-socket.io'

//node.js 服务器地址42.193.17.196 端口8000
Vue.use(new VueSocketIO({
    debug: false,
    connection:SocketIOClient('ws://localhost:3030', {transports: ['websocket']}),
}));
Vue.config.productionTip = false
Vue.use(ElementUI)
Vue.use(less)
Vue.use(VueQuillEditor);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')


